<template>
	<view class="content">
		<view class="addBox">
			<image class="addImg" src="../../static/czy/tianjia.png" mode=""></image>
			<view @click="addfp" class="addtext">
				<view class="text">添加抬头</view>
				<view class="wyytext">
					قوشۇش بېشىنى كۆتۈرۈپ
				</view>
			</view>
		</view>
		<view class="list" v-for="(item,index) in 2" :key="index">
			<view class="listBox">
				<view class="listLeft">
					公司
				</view>
				<view class="listRight">
					<view class="gsname">浙江永创科技有限公式</view>
					<view class="gssh">
						<text class="shname">税号</text>
						<text class="shtext">1234567893456</text>
					</view>
				</view>
			</view>
			<view class="right">
				<view class="rightBox">
					<view class="xuigai">
						修改
					</view>
					<view class="shanchu">
						删除
					</view>
				</view>
				
			</view>
		</view>
	</view>
</template>

<script>
	import app from '@/util/api.js'
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			addfp(){
				app.nto('fapiao/addfp')
			}
		}
	}
</script>

<style scoped>
.content{
	min-height: 100vh;
	background-color: #f5f5f5;
}
.addBox{
	padding: 35rpx 30rpx;
	background-color: #FFFFFF;
	display: flex;
}
.addImg{
	width: 26rpx;
	height: 26rpx;
	
}
.addtext{
	flex: 1;
	padding-left: 16rpx;
	color: #333333;
}
.text{
	font-size: 30rpx;
	line-height: 28rpx;
}
.wyytext{
	font-size: 24rpx;
	padding-top: 16rpx;
}
.list{
	padding: 0 30rpx;
	background-color: #ffffff;
	position: relative;
}
.listBox{
	border-top: 1rpx #EEEEEE solid;
	padding: 35rpx 0;
	display: flex;
}
.listLeft{
	width: 60rpx;
	height: 30rpx;
	color: #FFC03C;
	border: 1rpx #FFC03C solid;
	border-radius: 2rpx;
	text-align: center;
	line-height: 28rpx;
	font-size: 20rpx;
}
.listRight{
	flex: 1;
	max-width: 380rpx;
	padding-left: 22rpx;
	color: #999;
}
.gsname{
	max-width: 360rpx;
	font-size: 30rpx;
	line-height: 30rpx;
	color: #333333;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.gssh{
	padding-top: 18rpx;
	font-size: 24rpx;
}
.shtext{
	max-width: 320rpx;
	padding-left: 16rpx;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
}
.right{
	position: absolute;
	right: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: #666;
}
.rightBox{
	display: flex;
	align-items: center;
}
.xuigai,.shanchu{
	width: 123rpx;
	padding-top: 58rpx;
	text-align: center;
	font-size: 24rpx;
	color: #FFFFFF;
}
</style>
